package com.aichongbang.acb.po;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author acb
 * @since 2021-05-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_pet")
public class Pet extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "t_id", type = IdType.AUTO)
    private Integer tId;

    private String tName;

    private String tVariety;

    private String tType;

    private String tColour;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String tTime;

    private String tProperty;

    private Integer fkCustomerId;
    @TableLogic
    private Integer tDeleted;


}
